package com.ark.cloud.java.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * DN开火事件
 *
 */
@Data
@TableName("fire_dn_event")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class FireDNEvent {
    @TableField( value = "id")
    private Long id;

    @TableField("timestamp")
    private String timestamp;//时间

    @TableField("cmd_id")
    private String cmdId;//指令id

    @TableField("firing_side_id")
    private String firingSideId; //发射武器的阵营id

    @TableField("firing_id")
    private String firingId;//发射武器的平台id

    @TableField("target_id")
    private String  targetId ; //被攻击的目标平台id

    @TableField("munition_id")
    private String munitionId ; //DN弹id

    @TableField("munition_type_id")
    private Long munitionTypeId;
    @TableField(exist = false)
    private EntityType munitionType;       // DN弹型号


    @TableField("SBI_type")
    private short SBIType; //DN弹类别 1：低轨2：高轨

}
